import { NetWork_Post, NetWork_Get } from "./commonServer";

function getTodayPoTask(bodydata, callback) {
  let netapi = "getTodayPoTask",
    reqError = {
      error: {
        code: "-1",
        msg: "获取数据失败"
      }
    };
  NetWork_Post(netapi, bodydata, callback, reqError);
}

function getTodayPoTaskByPtList(bodydata, callback) {
  let netapi = "getTodayPoTaskByPtList",
    reqError = {
      error: {
        code: "-1",
        msg: "获取数据失败"
      }
    };
  NetWork_Post(netapi, bodydata, callback, reqError);
}

export { getTodayPoTask, getTodayPoTaskByPtList };
